# name: .Print # flags: 0x0400 (ENABLE_CONTROL) # delay: 0 # event mask: 0x0000 # menu id: 0 # open label: 0000 # prime label: 003C # control label: 006C # status label: 003C # close label: 0040 open: 00000000 137C 0046 0007 move.b [A1 + 0x7], 0x46 /* 'F' */ 00000006 45F8 0944 lea.l A2, [0x00000944 /* PrintErr */] 0000000A 425A clr.w [A2]+ 0000000C 08D2 0005 bset.b [A2], 0x5 00000010 594F subq.w A7, 4 00000012 3F38 0210 move.w -[A7], [0x00000210 /* BootDrive */] 00000016 3F3C E000 move.w -[A7], 0xE000 0000001A 4227 clr.b -[A7] 0000001C 4EBA 022C jsr [PC + 0x22C /* 0000024A */] 00000020 08D2 0004 bset.b [A2], 0x4 00000024 4A1F tst.b [A7]+ 00000026 6604 bne +0x6 /* 0000002C */ 00000028 0892 0004 bclr.b [A2], 0x4 label0000002C: 0000002C 089A 0003 bclr.b [A2]+, 0x3 00000030 14BC 00FD move.b [A2], 0xFD 00000034 31DF 0952 move.w [0x00000952 /* PrRefNum */], [A7]+ 00000038 7000 moveq.l D0, 0x00 0000003A 4E75 rts prime: status: 0000003C 7000 moveq.l D0, 0x00 0000003E 4E75 rts close: 00000040 45F8 0946 lea.l A2, [0x00000946 /* ChooserBits */] 00000044 0CAA FFFF FFFF 0002 cmpi.l [A2 + 0x2], 0xFFFFFFFF 0000004C 6704 beq +0x6 /* 00000052 */ 0000004E 4EBA 00F0 jsr [PC + 0xF0 /* 00000140 */] label00000052: 00000052 3038 0952 move.w D0, [0x00000952 /* PrRefNum */] 00000056 6B0A bmi +0xC /* 00000062 */ 00000058 0812 0004 btst.b [A2], 0x4 0000005C 6704 beq +0x6 /* 00000062 */ 0000005E 3F00 move.w -[A7], D0 00000060 A99A syscall CloseResFile label00000062: 00000062 089A 0004 bclr.b [A2]+, 0x4 00000066 50DA st [A2]+ 00000068 7000 moveq.l D0, 0x00 0000006A 4E75 rts control: 0000006C 45FA 001E lea.l A2, [PC + 0x1E /* 0000008C, value 0x43FA0032 */] 00000070 610E bsr +0x10 /* 00000080 */ 00000072 3038 0944 move.w D0, [0x00000944 /* PrintErr */] 00000076 3140 0010 move.w [A0 + 0x10], D0 0000007A 2F38 08FC move.l -[A7], [0x000008FC /* JIODone */] 0000007E 4E75 rts fn00000080: 00000080 48E7 00C0 movem.l -[A7], A0,A1 00000084 4E92 jsr [A2] 00000086 4CDF 0300 movem.l A0,A1, [A7]+ 0000008A 4E75 rts 0000008C 43FA 0032 lea.l A1, [PC + 0x32 /* 000000C0, value 0x40003, cstring "" */] 00000090 3228 001A move.w D1, [A0 + 0x1A] 00000094 45E8 001C lea.l A2, [A0 + 0x1C] label00000098: 00000098 9259 sub.w D1, [A1]+ 0000009A 6B0E bmi +0x10 /* 000000AA */ 0000009C B259 cmp.w D1, [A1]+ 0000009E 6E0A bgt +0xC /* 000000AA */ label000000A0: 000000A0 D241 add.w D1, D1 000000A2 3231 1000 move.w D1, [A1 + D1.w] 000000A6 4EF1 1000 jmp [A1 + D1.w] label000000AA: 000000AA 70EF moveq.l D0, 0xFFFFFFEF 000000AC 4A78 0944 tst.w [0x00000944 /* PrintErr */] 000000B0 6706 beq +0x8 /* 000000B8 */ 000000B2 0C40 FFE5 cmpi.w D0, 0xFFE5 000000B6 6604 bne +0x6 /* 000000BC */ label000000B8: 000000B8 31C0 0944 move.w [0x00000944 /* PrintErr */], D0 label000000BC: 000000BC 4E75 rts 000000BE 4E75 rts 000000C0 0004 0003 ori.b D4, 0x3 000000C4 0008 0028 ori.b A0, 0x28 /* '(' */ 000000C8 FFFA .invalid <> 000000CA 0034 2878 0948 ori.b [A4 + <>], 0x78 /* 'x' */ 000000D0 6100 0160 bsr +0x162 /* 00000232 */ 000000D4 2F1A move.l -[A7], [A2]+ 000000D6 2F1A move.l -[A7], [A2]+ 000000D8 2F1A move.l -[A7], [A2]+ 000000DA 4EBA 03BE jsr [PC + 0x3BE /* 0000049A */] 000000DE 4A78 0944 tst.w [0x00000944 /* PrintErr */] 000000E2 6F06 ble +0x8 /* 000000EA */ 000000E4 08F8 0007 0944 bset.b [0x00000944 /* PrintErr */], 0x7 label000000EA: 000000EA 4E75 rts 000000EC 205A movea.l A0, [A2]+ 000000EE 201A move.l D0, [A2]+ 000000F0 221A move.l D1, [A2]+ 000000F2 43FA 001A lea.l A1, [PC + 0x1A /* 0000010E, value 0xCA00F8, cstring "" */] 000000F6 60A8 bra -0x56 /* 000000A0 */ 000000F8 43FA 0006 lea.l A1, [PC + 0x6 /* 00000100, value 0x10004, cstring "" */] 000000FC 321A move.w D1, [A2]+ 000000FE 6098 bra -0x66 /* 00000098 */ 00000100 0001 0004 ori.b D1, 0x4 00000104 0016 008C ori.b [A6], 0x8C 00000108 00B2 0068 003C 00CA ori.l [A2 + D0.w - 0x54], 0x68003C /* 'h\0<' */ 00000110 00F8 .incomplete 00000112 FF9C .invalid <> 00000114 FF9C .invalid <> 00000116 FF9C .invalid <> 00000118 FF9C .invalid <> 0000011A 4EBA 0204 jsr [PC + 0x204 /* 00000320 */] 0000011E 4A78 0944 tst.w [0x00000944 /* PrintErr */] 00000122 660E bne +0x10 /* 00000132 */ 00000124 2878 0948 movea.l A4, [0x00000948] 00000128 50EC 0006 st [A4 + 0x6] 0000012C 197C 0002 0007 move.b [A4 + 0x7], 0x2 label00000132: 00000132 4A78 0944 tst.w [0x00000944 /* PrintErr */] 00000136 6F06 ble +0x8 /* 0000013E */ 00000138 08F8 0007 0944 bset.b [0x00000944 /* PrintErr */], 0x7 label0000013E: 0000013E 4E75 rts fn00000140: 00000140 2038 0948 move.l D0, [0x00000948] 00000144 6710 beq +0x12 /* 00000156 */ 00000146 2840 movea.l A4, D0 00000148 592C 0007 subq.b [A4 + 0x7], 4 0000014C 6602 bne +0x4 /* 00000150 */ 0000014E 6140 bsr +0x42 /* 00000190 */ label00000150: 00000150 197C 0006 0007 move.b [A4 + 0x7], 0x6 label00000156: 00000156 4EBA 02C6 jsr [PC + 0x2C6 /* 0000041E */] 0000015A 3038 0944 move.w D0, [0x00000944 /* PrintErr */] 0000015E 0C40 8080 cmpi.w D0, 0x8080 00000162 6606 bne +0x8 /* 0000016A */ 00000164 08B8 0007 0944 bclr.b [0x00000944 /* PrintErr */], 0x7 label0000016A: 0000016A 4E75 rts fn0000016C: 0000016C 2038 0948 move.l D0, [0x00000948] 00000170 6710 beq +0x12 /* 00000182 */ 00000172 2840 movea.l A4, D0 00000174 197C 0003 0007 move.b [A4 + 0x7], 0x3 0000017A 426C 0008 clr.w [A4 + 0x8] 0000017E 4EBA 0214 jsr [PC + 0x214 /* 00000394 */] label00000182: 00000182 4A78 0944 tst.w [0x00000944 /* PrintErr */] 00000186 6F06 ble +0x8 /* 0000018E */ 00000188 08F8 0007 0944 bset.b [0x00000944 /* PrintErr */], 0x7 label0000018E: 0000018E 4E75 rts fn00000190: 00000190 2038 0948 move.l D0, [0x00000948] 00000194 670C beq +0xE /* 000001A2 */ 00000196 2840 movea.l A4, D0 00000198 4A2C 0006 tst.b [A4 + 0x6] 0000019C 6704 beq +0x6 /* 000001A2 */ 0000019E 4EBA 023E jsr [PC + 0x23E /* 000003DE */] label000001A2: 000001A2 197C 0005 0007 move.b [A4 + 0x7], 0x5 000001A8 4A78 0944 tst.w [0x00000944 /* PrintErr */] 000001AC 6F06 ble +0x8 /* 000001B4 */ 000001AE 08F8 0007 0944 bset.b [0x00000944 /* PrintErr */], 0x7 label000001B4: 000001B4 4E75 rts 000001B6 2878 0948 movea.l A4, [0x00000948] 000001BA 6176 bsr +0x78 /* 00000232 */ 000001BC 3012 move.w D0, [A2] 000001BE 6A02 bpl +0x4 /* 000001C2 */ fn000001C0: 000001C0 700C moveq.l D0, 0x0C label000001C2: 000001C2 D16C 0008 add.w [A4 + 0x8], D0 000001C6 4EBA 029C jsr [PC + 0x29C /* 00000464 */] 000001CA 4A78 0944 tst.w [0x00000944 /* PrintErr */] 000001CE 6F06 ble +0x8 /* 000001D6 */ 000001D0 08F8 0007 0944 bset.b [0x00000944 /* PrintErr */], 0x7 label000001D6: 000001D6 4E75 rts 000001D8 2238 0948 move.l D1, [0x00000948] 000001DC 671A beq +0x1C /* 000001F8 */ 000001DE 2841 movea.l A4, D1 000001E0 2F08 move.l -[A7], A0 000001E2 4267 clr.w -[A7] 000001E4 3F00 move.w -[A7], D0 000001E6 4EBA 004A jsr [PC + 0x4A /* 00000232 */] 000001EA 4A6C 0008 tst.w [A4 + 0x8] 000001EE 6604 bne +0x6 /* 000001F4 */ 000001F0 4EBA FFCE jsr [PC - 0x32 /* 000001C0 */] label000001F4: 000001F4 4EBA 0366 jsr [PC + 0x366 /* 0000055C */] label000001F8: 000001F8 4A78 0944 tst.w [0x00000944 /* PrintErr */] 000001FC 6F06 ble +0x8 /* 00000204 */ 000001FE 08F8 0007 0944 bset.b [0x00000944 /* PrintErr */], 0x7 label00000204: 00000204 4E75 rts 00000206 2238 0948 move.l D1, [0x00000948] 0000020A 6718 beq +0x1A /* 00000224 */ 0000020C 2841 movea.l A4, D1 0000020E 2F08 move.l -[A7], A0 00000210 3F00 move.w -[A7], D0 00000212 4EBA 001E jsr [PC + 0x1E /* 00000232 */] 00000216 4A6C 0008 tst.w [A4 + 0x8] 0000021A 6604 bne +0x6 /* 00000220 */ 0000021C 4EBA FFA2 jsr [PC - 0x5E /* 000001C0 */] label00000220: 00000220 4EBA 0376 jsr [PC + 0x376 /* 00000598 */] label00000224: 00000224 4A78 0944 tst.w [0x00000944 /* PrintErr */] 00000228 6F06 ble +0x8 /* 00000230 */ 0000022A 08F8 0007 0944 bset.b [0x00000944 /* PrintErr */], 0x7 label00000230: 00000230 4E75 rts fn00000232: 00000232 552C 0007 subq.b [A4 + 0x7], 2 00000236 6706 beq +0x8 /* 0000023E */ 00000238 572C 0007 subq.b [A4 + 0x7], 3 0000023C 6604 bne +0x6 /* 00000242 */ label0000023E: 0000023E 6100 FF2C bsr -0xD2 /* 0000016C */ label00000242: 00000242 197C 0004 0007 move.b [A4 + 0x7], 0x4 00000248 4E75 rts fn0000024A: 0000024A 4E56 FFB0 link A6, -0x0050 0000024E 200F move.l D0, A7 00000250 48E7 3F7A movem.l -[A7], D2,D3,D4,D5,D6,D7,A1,A2,A3,A4,A6 00000254 45EE 0008 lea.l A2, [A6 + 0x8] 00000258 2640 movea.l A3, D0 0000025A 2C78 0948 movea.l A6, [0x00000948] 0000025E 4DEA FFB8 lea.l A6, [A2 - 0x48] 00000262 49EE 0012 lea.l A4, [A6 + 0x12] 00000266 429C clr.l [A4]+ 00000268 2638 0A50 move.l D3, [0x00000A50 /* TopMapHndl */] 0000026C 369A move.w [A3], [A2]+ 0000026E 594F subq.w A7, 4 00000270 3F1A move.w -[A7], [A2]+ 00000272 A9BA syscall GetString 00000274 2057 movea.l A0, [A7] 00000276 A029 syscall HLock 00000278 554F subq.w A7, 2 0000027A 2F10 move.l -[A7], [A0] 0000027C 204E movea.l A0, A6 0000027E A014 syscall GetVol/PBHGetVol/HGetVol 00000280 3814 move.w D4, [A4] 00000282 389A move.w [A4], [A2]+ 00000284 4A13 tst.b [A3] 00000286 6712 beq +0x14 /* 0000029A */ 00000288 204E movea.l A0, A6 0000028A A017 syscall Eject label0000028C: 0000028C 554F subq.w A7, 2 0000028E 3F3C 0080 move.w -[A7], 0x80 00000292 2F0B move.l -[A7], A3 00000294 A970 syscall GetNextEvent 00000296 4A1F tst.b [A7]+ 00000298 67F2 beq -0xC /* 0000028C */ label0000029A: 0000029A 204E movea.l A0, A6 0000029C A015 syscall SetVol/PBHSetVol/HSetVol 0000029E A997 syscall OpenResFile 000002A0 3A1F move.w D5, [A7]+ 000002A2 A9A3 syscall ReleaseResource 000002A4 204E movea.l A0, A6 000002A6 3884 move.w [A4], D4 000002A8 A015 syscall SetVol/PBHSetVol/HSetVol 000002AA B6B8 0A50 cmp.l D3, [0x00000A50 /* TopMapHndl */] 000002AE 56DA sne [A2]+ 000002B0 524A addq.w A2, 1 000002B2 34C5 move.w [A2]+, D5 000002B4 4CDF 5EFC movem.l D2,D3,D4,D5,D6,D7,A1,A2,A3,A4,A6, [A7]+ 000002B8 4E5E unlink A6 000002BA 205F movea.l A0, [A7]+ 000002BC 5C4F addq.w A7, 6 000002BE 4ED0 jmp [A0] fn000002C0: 000002C0 225F movea.l A1, [A7]+ 000002C2 201F move.l D0, [A7]+ 000002C4 A122 syscall NewHandle, flags=1 000002C6 2E88 move.l [A7], A0 000002C8 4ED1 jmp [A1] fn000002CA: 000002CA 3F78 0944 0004 move.w [A7 + 0x4], [0x00000944 /* PrintErr */] 000002D0 4E75 rts fn000002D2: 000002D2 4E56 FFFE link A6, -0x0002 000002D6 48E7 0118 movem.l -[A7], D7,A3,A4 000002DA 266E 0008 movea.l A3, [A6 + 0x8] 000002DE 42A7 clr.l -[A7] 000002E0 7078 moveq.l D0, 0x78 000002E2 2F00 move.l -[A7], D0 000002E4 4EBA FFDA jsr [PC - 0x26 /* 000002C0 */] 000002E8 269F move.l [A3], [A7]+ 000002EA 2F13 move.l -[A7], [A3] 000002EC 4EBA 033E jsr [PC + 0x33E /* 0000062C */] 000002F0 2053 movea.l A0, [A3] 000002F2 2850 movea.l A4, [A0] 000002F4 41EC 005C lea.l A0, [A4 + 0x5C] 000002F8 0250 FFDF andi.w [A0], 0xFFDF 000002FC 0050 0020 ori.w [A0], 0x20 /* ' ' */ 00000300 41EC 005C lea.l A0, [A4 + 0x5C] 00000304 0250 FFEF andi.w [A0], 0xFFEF 00000308 0050 0010 ori.w [A0], 0x10 0000030C 4267 clr.w -[A7] 0000030E 2F13 move.l -[A7], [A3] 00000310 4EBA 0328 jsr [PC + 0x328 /* 0000063A */] 00000314 1E1F move.b D7, [A7]+ 00000316 4CDF 1880 movem.l D7,A3,A4, [A7]+ 0000031A 4E5E unlink A6 0000031C 2E9F move.l [A7], [A7]+ 0000031E 4E75 rts fn00000320: 00000320 4E56 FFF0 link A6, -0x0010 00000324 48E7 0118 movem.l -[A7], D7,A3,A4 00000328 4EBA 031E jsr [PC + 0x31E /* 00000648 */] 0000032C 486E FFF8 pea.l [A6 - 0x8] 00000330 4EBA FFA0 jsr [PC - 0x60 /* 000002D2 */] 00000334 486E FFF4 pea.l [A6 - 0xC] 00000338 A874 syscall GetPort 0000033A 42A7 clr.l -[A7] 0000033C 2F2E FFF8 move.l -[A7], [A6 - 0x8] 00000340 42A7 clr.l -[A7] 00000342 42A7 clr.l -[A7] 00000344 4EBA 02AE jsr [PC + 0x2AE /* 000005F4 */] 00000348 265F movea.l A3, [A7]+ 0000034A 207C 0000 0944 movea.l A0, 0x944 /* '\tD' */ 00000350 2E28 0004 move.l D7, [A0 + 0x4] 00000354 49D3 lea.l A4, [A3] 00000356 397C 0016 0044 move.w [A4 + 0x44], 0x16 0000035C 397C 000A 004A move.w [A4 + 0x4A], 0xA /* '\n' */ 00000362 4A87 tst.l D7 00000364 6718 beq +0x1A /* 0000037E */ 00000366 2847 movea.l A4, D7 00000368 294B 0010 move.l [A4 + 0x10], A3 0000036C 42A7 clr.l -[A7] 0000036E 7001 moveq.l D0, 0x01 00000370 2F00 move.l -[A7], D0 00000372 4EBA FF4C jsr [PC - 0xB4 /* 000002C0 */] 00000376 295F 0016 move.l [A4 + 0x16], [A7]+ 0000037A 422C 000F clr.b [A4 + 0xF] label0000037E: 0000037E 2F2E FFF4 move.l -[A7], [A6 - 0xC] 00000382 A873 syscall SetPort 00000384 2F2E FFF8 move.l -[A7], [A6 - 0x8] 00000388 205F movea.l A0, [A7]+ 0000038A A023 syscall DisposHandle/DisposeHandle 0000038C 4CDF 1880 movem.l D7,A3,A4, [A7]+ 00000390 4E5E unlink A6 00000392 4E75 rts fn00000394: 00000394 4E56 FFF8 link A6, -0x0008 00000398 48E7 0018 movem.l -[A7], A3,A4 0000039C 4267 clr.w -[A7] 0000039E 4EBA FF2A jsr [PC - 0xD6 /* 000002CA */] 000003A2 4A5F tst.w [A7]+ 000003A4 6630 bne +0x32 /* 000003D6 */ 000003A6 486E FFF8 pea.l [A6 - 0x8] 000003AA A874 syscall GetPort 000003AC 207C 0000 0944 movea.l A0, 0x944 /* '\tD' */ 000003B2 2668 0004 movea.l A3, [A0 + 0x4] 000003B6 284B movea.l A4, A3 000003B8 2F2C 0010 move.l -[A7], [A4 + 0x10] 000003BC A873 syscall SetPort 000003BE 4267 clr.w -[A7] 000003C0 3F2C 0008 move.w -[A7], [A4 + 0x8] 000003C4 A893 syscall MoveTo 000003C6 2F2C 0010 move.l -[A7], [A4 + 0x10] 000003CA 42A7 clr.l -[A7] 000003CC 4EBA 0242 jsr [PC + 0x242 /* 00000610 */] 000003D0 2F2E FFF8 move.l -[A7], [A6 - 0x8] 000003D4 A873 syscall SetPort label000003D6: 000003D6 4CDF 1800 movem.l A3,A4, [A7]+ 000003DA 4E5E unlink A6 000003DC 4E75 rts fn000003DE: 000003DE 4E56 FFF8 link A6, -0x0008 000003E2 48E7 0018 movem.l -[A7], A3,A4 000003E6 4267 clr.w -[A7] 000003E8 4EBA FEE0 jsr [PC - 0x120 /* 000002CA */] 000003EC 4A5F tst.w [A7]+ 000003EE 6626 bne +0x28 /* 00000416 */ 000003F0 486E FFF8 pea.l [A6 - 0x8] 000003F4 A874 syscall GetPort 000003F6 207C 0000 0944 movea.l A0, 0x944 /* '\tD' */ 000003FC 2668 0004 movea.l A3, [A0 + 0x4] 00000400 284B movea.l A4, A3 00000402 2F2C 0010 move.l -[A7], [A4 + 0x10] 00000406 A873 syscall SetPort 00000408 2F2C 0010 move.l -[A7], [A4 + 0x10] 0000040C 4EBA 0210 jsr [PC + 0x210 /* 0000061E */] 00000410 2F2E FFF8 move.l -[A7], [A6 - 0x8] 00000414 A873 syscall SetPort label00000416: 00000416 4CDF 1800 movem.l A3,A4, [A7]+ 0000041A 4E5E unlink A6 0000041C 4E75 rts fn0000041E: 0000041E 4E56 FFF8 link A6, -0x0008 00000422 48E7 0018 movem.l -[A7], A3,A4 00000426 486E FFF8 pea.l [A6 - 0x8] 0000042A A874 syscall GetPort 0000042C 207C 0000 0944 movea.l A0, 0x944 /* '\tD' */ 00000432 2668 0004 movea.l A3, [A0 + 0x4] 00000436 200B move.l D0, A3 00000438 671E beq +0x20 /* 00000458 */ 0000043A 284B movea.l A4, A3 0000043C 2F2C 0010 move.l -[A7], [A4 + 0x10] 00000440 A873 syscall SetPort 00000442 2F2C 0016 move.l -[A7], [A4 + 0x16] 00000446 205F movea.l A0, [A7]+ 00000448 A023 syscall DisposHandle/DisposeHandle 0000044A 2F2C 0010 move.l -[A7], [A4 + 0x10] 0000044E 4EBA 01B2 jsr [PC + 0x1B2 /* 00000602 */] 00000452 2F2E FFF8 move.l -[A7], [A6 - 0x8] 00000456 A873 syscall SetPort label00000458: 00000458 4EBA 01FC jsr [PC + 0x1FC /* 00000656 */] 0000045C 4CDF 1800 movem.l A3,A4, [A7]+ 00000460 4E5E unlink A6 00000462 4E75 rts fn00000464: 00000464 4E56 FFF8 link A6, -0x0008 00000468 48E7 0018 movem.l -[A7], A3,A4 0000046C 486E FFF8 pea.l [A6 - 0x8] 00000470 A874 syscall GetPort 00000472 207C 0000 0944 movea.l A0, 0x944 /* '\tD' */ 00000478 2668 0004 movea.l A3, [A0 + 0x4] 0000047C 284B movea.l A4, A3 0000047E 2F2C 0010 move.l -[A7], [A4 + 0x10] 00000482 A873 syscall SetPort 00000484 4267 clr.w -[A7] 00000486 3F2C 0008 move.w -[A7], [A4 + 0x8] 0000048A A893 syscall MoveTo 0000048C 2F2E FFF8 move.l -[A7], [A6 - 0x8] 00000490 A873 syscall SetPort 00000492 4CDF 1800 movem.l A3,A4, [A7]+ 00000496 4E5E unlink A6 00000498 4E75 rts fn0000049A: 0000049A 4E56 FFE0 link A6, -0x0020 0000049E 48E7 0118 movem.l -[A7], D7,A3,A4 000004A2 2E2E 000C move.l D7, [A6 + 0xC] 000004A6 207C 0000 0944 movea.l A0, 0x944 /* '\tD' */ 000004AC 2668 0004 movea.l A3, [A0 + 0x4] 000004B0 207C 0000 0944 movea.l A0, 0x944 /* '\tD' */ 000004B6 4A50 tst.w [A0] 000004B8 6600 0094 bne +0x96 /* 0000054E */ 000004BC 486E FFF8 pea.l [A6 - 0x8] 000004C0 A874 syscall GetPort 000004C2 2F2B 0010 move.l -[A7], [A3 + 0x10] 000004C6 A873 syscall SetPort 000004C8 284B movea.l A4, A3 000004CA 102C 000F move.b D0, [A4 + 0xF] 000004CE 661C bne +0x1E /* 000004EC */ 000004D0 206C 0016 movea.l A0, [A4 + 0x16] 000004D4 2050 movea.l A0, [A0] 000004D6 10AC 000A move.b [A0], [A4 + 0xA] 000004DA 2F3C 0001 00D5 move.l -[A7], 0x100D5 000004E0 2F2C 0016 move.l -[A7], [A4 + 0x16] 000004E4 A8F2 syscall PicComment 000004E6 197C 0001 000F move.b [A4 + 0xF], 0x1 label000004EC: 000004EC 2047 movea.l A0, D7 000004EE 43EE FFEC lea.l A1, [A6 - 0x14] 000004F2 22D8 move.l [A1]+, [A0]+ 000004F4 22D8 move.l [A1]+, [A0]+ 000004F6 2D4B FFE4 move.l [A6 - 0x1C], A3 000004FA 486E FFEC pea.l [A6 - 0x14] 000004FE 302E FFEE move.w D0, [A6 - 0x12] 00000502 4440 neg.w D0 00000504 3F00 move.w -[A7], D0 00000506 302B 0008 move.w D0, [A3 + 0x8] 0000050A 906E FFEC sub.w D0, [A6 - 0x14] 0000050E 3F00 move.w -[A7], D0 00000510 A8A8 syscall OffsetRect 00000512 2F2E 0010 move.l -[A7], [A6 + 0x10] 00000516 206B 0010 movea.l A0, [A3 + 0x10] 0000051A 4868 0002 pea.l [A0 + 0x2] 0000051E 2F07 move.l -[A7], D7 00000520 486E FFEC pea.l [A6 - 0x14] 00000524 3F3C 0001 move.w -[A7], 0x1 00000528 42A7 clr.l -[A7] 0000052A A8EC syscall CopyBits 0000052C 2F2E FFF8 move.l -[A7], [A6 - 0x8] 00000530 A873 syscall SetPort 00000532 2847 movea.l A4, D7 00000534 2D4B FFE0 move.l [A6 - 0x20], A3 00000538 206E FFE0 movea.l A0, [A6 - 0x20] 0000053C 302C 0004 move.w D0, [A4 + 0x4] 00000540 D068 0008 add.w D0, [A0 + 0x8] 00000544 9054 sub.w D0, [A4] 00000546 206E FFE0 movea.l A0, [A6 - 0x20] 0000054A 3140 0008 move.w [A0 + 0x8], D0 label0000054E: 0000054E 4CDF 1880 movem.l D7,A3,A4, [A7]+ 00000552 4E5E unlink A6 00000554 205F movea.l A0, [A7]+ 00000556 DEFC 000C add.w A7, 0xC 0000055A 4ED0 jmp [A0] fn0000055C: 0000055C 4E56 FFF8 link A6, -0x0008 00000560 48E7 0018 movem.l -[A7], A3,A4 00000564 486E FFF8 pea.l [A6 - 0x8] 00000568 A874 syscall GetPort 0000056A 207C 0000 0944 movea.l A0, 0x944 /* '\tD' */ 00000570 2668 0004 movea.l A3, [A0 + 0x4] 00000574 284B movea.l A4, A3 00000576 2F2C 0010 move.l -[A7], [A4 + 0x10] 0000057A A873 syscall SetPort 0000057C 2F2E 000C move.l -[A7], [A6 + 0xC] 00000580 2F2E 0008 move.l -[A7], [A6 + 0x8] 00000584 A885 syscall DrawText 00000586 2F2E FFF8 move.l -[A7], [A6 - 0x8] 0000058A A873 syscall SetPort 0000058C 4CDF 1800 movem.l A3,A4, [A7]+ 00000590 4E5E unlink A6 00000592 205F movea.l A0, [A7]+ 00000594 504F addq.w A7, 8 00000596 4ED0 jmp [A0] fn00000598: 00000598 4E56 FFF8 link A6, -0x0008 0000059C 48E7 0018 movem.l -[A7], A3,A4 000005A0 486E FFF8 pea.l [A6 - 0x8] 000005A4 A874 syscall GetPort 000005A6 207C 0000 0944 movea.l A0, 0x944 /* '\tD' */ 000005AC 2668 0004 movea.l A3, [A0 + 0x4] 000005B0 284B movea.l A4, A3 000005B2 2F2C 0010 move.l -[A7], [A4 + 0x10] 000005B6 A873 syscall SetPort 000005B8 2F3C 0000 00C4 move.l -[A7], 0xC4 000005BE 42A7 clr.l -[A7] 000005C0 A8F2 syscall PicComment 000005C2 2F3C 0000 00C2 move.l -[A7], 0xC2 000005C8 42A7 clr.l -[A7] 000005CA A8F2 syscall PicComment 000005CC 2F2E 000A move.l -[A7], [A6 + 0xA] 000005D0 4267 clr.w -[A7] 000005D2 3F2E 0008 move.w -[A7], [A6 + 0x8] 000005D6 A885 syscall DrawText 000005D8 2F3C 0000 00BF move.l -[A7], 0xBF 000005DE 42A7 clr.l -[A7] 000005E0 A8F2 syscall PicComment 000005E2 2F2E FFF8 move.l -[A7], [A6 - 0x8] 000005E6 A873 syscall SetPort 000005E8 4CDF 1800 movem.l A3,A4, [A7]+ 000005EC 4E5E unlink A6 000005EE 205F movea.l A0, [A7]+ 000005F0 5C4F addq.w A7, 6 000005F2 4ED0 jmp [A0] fn000005F4: 000005F4 2F17 move.l -[A7], [A7] 000005F6 2F7C 0400 0C00 0004 move.l [A7 + 0x4], 0x4000C00 000005FE 4EFA 0064 jmp [PC + 0x64 /* 00000664 */] fn00000602: 00000602 2F17 move.l -[A7], [A7] 00000604 2F7C 0800 0484 0004 move.l [A7 + 0x4], 0x8000484 0000060C 4EFA 0056 jmp [PC + 0x56 /* 00000664 */] fn00000610: 00000610 2F17 move.l -[A7], [A7] 00000612 2F7C 1000 0808 0004 move.l [A7 + 0x4], 0x10000808 0000061A 4EFA 0048 jmp [PC + 0x48 /* 00000664 */] fn0000061E: 0000061E 2F17 move.l -[A7], [A7] 00000620 2F7C 1800 040C 0004 move.l [A7 + 0x4], 0x1800040C 00000628 4EFA 003A jmp [PC + 0x3A /* 00000664 */] fn0000062C: 0000062C 2F17 move.l -[A7], [A7] 0000062E 2F7C 2004 0480 0004 move.l [A7 + 0x4], 0x20040480 00000636 4EFA 002C jmp [PC + 0x2C /* 00000664 */] fn0000063A: 0000063A 2F17 move.l -[A7], [A7] 0000063C 2F7C 5204 0498 0004 move.l [A7 + 0x4], 0x52040498 00000644 4EFA 001E jmp [PC + 0x1E /* 00000664 */] fn00000648: 00000648 2F17 move.l -[A7], [A7] 0000064A 2F7C C800 0000 0004 move.l [A7 + 0x4], 0xC8000000 00000652 4EFA 0010 jmp [PC + 0x10 /* 00000664 */] fn00000656: 00000656 2F17 move.l -[A7], [A7] 00000658 2F7C D000 0000 0004 move.l [A7 + 0x4], 0xD0000000 00000660 4EFA 0002 jmp [PC + 0x2 /* 00000664 */] fn00000664: 00000664 2F0B move.l -[A7], A3 00000666 203C 0000 A89F move.l D0, 0xA89F 0000066C A146 syscall GetTrapAddress, flags=1 0000066E 2648 movea.l A3, A0 00000670 203C 0000 A8FD move.l D0, 0xA8FD 00000676 A146 syscall GetTrapAddress, flags=1 00000678 B7C8 cmpa.l A3, A0 0000067A 6746 beq +0x48 /* 000006C2 */ 0000067C 265F movea.l A3, [A7]+ 0000067E 4E56 0000 link A6, 0 00000682 41EE 0008 lea.l A0, [A6 + 0x8] 00000686 7007 moveq.l D0, 0x07 00000688 C02E 0008 and.b D0, [A6 + 0x8] 0000068C D02E 000A add.b D0, [A6 + 0xA] 00000690 5800 addq.b D0, 4 00000692 9EC0 sub.w A7, D0 00000694 224F movea.l A1, A7 00000696 A02E syscall BlockMove/BlockMoveData 00000698 A8FD syscall PrGlue 0000069A 7200 moveq.l D1, 0x00 0000069C 122E 000A move.b D1, [A6 + 0xA] 000006A0 7007 moveq.l D0, 0x07 000006A2 C02E 0008 and.b D0, [A6 + 0x8] 000006A6 6710 beq +0x12 /* 000006B8 */ 000006A8 204F movea.l A0, A7 000006AA 43F6 100C lea.l A1, [A6 + D1.w + 0xC] 000006AE E248 lsr D0.w, 1 000006B0 6002 bra +0x4 /* 000006B4 */ label000006B2: 000006B2 32DF move.w [A1]+, [A7]+ label000006B4: 000006B4 51C8 FFFC dbf D0, -0x6 /* 000006B2 */ label000006B8: 000006B8 4E5E unlink A6 000006BA 205F movea.l A0, [A7]+ 000006BC DFC1 add.l A7, D1 000006BE 584F addq.w A7, 4 000006C0 4ED0 jmp [A0] label000006C2: 000006C2 265F movea.l A3, [A7]+ 000006C4 4E56 0000 link A6, 0 000006C8 48E7 0018 movem.l -[A7], A3,A4 000006CC 7200 moveq.l D1, 0x00 000006CE 122E 0008 move.b D1, [A6 + 0x8] 000006D2 E609 lsr D1.b, 3 000006D4 6718 beq +0x1A /* 000006EE */ 000006D6 4A2E 0008 tst.b [A6 + 0x8] 000006DA 6B00 00C2 bmi +0xC4 /* 0000079E */ 000006DE 7400 moveq.l D2, 0x00 000006E0 142E 0009 move.b D2, [A6 + 0x9] 000006E4 661E bne +0x20 /* 00000704 */ 000006E6 7403 moveq.l D2, 0x03 000006E8 C438 0946 and.b D2, [0x00000946 /* ChooserBits */] 000006EC 6016 bra +0x18 /* 00000704 */ label000006EE: 000006EE 206E 0014 movea.l A0, [A6 + 0x14] 000006F2 2050 movea.l A0, [A0] 000006F4 7403 moveq.l D2, 0x03 000006F6 C428 0044 and.b D2, [A0 + 0x44] 000006FA 0238 00FC 0946 andi.b [0x00000946 /* ChooserBits */], 0xFC 00000700 8538 0946 or.b [0x00000946 /* ChooserBits */], D2 label00000704: 00000704 3678 0A5A movea.w A3, [0x00000A5A /* CurMap */] 00000708 42A7 clr.l -[A7] 0000070A 2F3C 5044 4546 move.l -[A7], 0x50444546 /* 'PDEF' */ 00000710 3F02 move.w -[A7], D2 00000712 A9A0 syscall GetResource 00000714 201F move.l D0, [A7]+ 00000716 4A80 tst.l D0 00000718 664A bne +0x4C /* 00000764 */ 0000071A 0C78 FFFF 0952 cmpi.w [0x00000952 /* PrRefNum */], 0xFFFF 00000720 670C beq +0xE /* 0000072E */ 00000722 3F38 0952 move.w -[A7], [0x00000952 /* PrRefNum */] 00000726 A998 syscall UseResFile 00000728 4A78 0A60 tst.w [0x00000A60 /* ResErr */] 0000072C 6716 beq +0x18 /* 00000744 */ label0000072E: 0000072E 6100 01D0 bsr +0x1D2 /* 00000900 */ 00000732 4A40 tst.w D0 00000734 6708 beq +0xA /* 0000073E */ 00000736 31C0 0944 move.w [0x00000944 /* PrintErr */], D0 0000073A 6000 00B0 bra +0xB2 /* 000007EC */ label0000073E: 0000073E 3F38 0952 move.w -[A7], [0x00000952 /* PrRefNum */] 00000742 A998 syscall UseResFile label00000744: 00000744 42A7 clr.l -[A7] 00000746 2F3C 5044 4546 move.l -[A7], 0x50444546 /* 'PDEF' */ 0000074C 3F02 move.w -[A7], D2 0000074E A9A0 syscall GetResource 00000750 201F move.l D0, [A7]+ 00000752 4A80 tst.l D0 00000754 660E bne +0x10 /* 00000764 */ 00000756 3F0B move.w -[A7], A3 00000758 A998 syscall UseResFile 0000075A 31FC FF40 0944 move.w [0x00000944 /* PrintErr */], 0xFF40 00000760 6000 008A bra +0x8C /* 000007EC */ label00000764: 00000764 2840 movea.l A4, D0 00000766 204C movea.l A0, A4 00000768 A029 syscall HLock 0000076A 3F0B move.w -[A7], A3 0000076C A998 syscall UseResFile 0000076E 41EE 000C lea.l A0, [A6 + 0xC] 00000772 7007 moveq.l D0, 0x07 00000774 C02E 0008 and.b D0, [A6 + 0x8] 00000778 D02E 000A add.b D0, [A6 + 0xA] 0000077C 9EC0 sub.w A7, D0 0000077E 224F movea.l A1, A7 00000780 A02E syscall BlockMove/BlockMoveData 00000782 102E 000B move.b D0, [A6 + 0xB] 00000786 0200 007F andi.b D0, 0x7F 0000078A 2054 movea.l A0, [A4] 0000078C 4EB0 0000 jsr [A0 + D0.w] 00000790 102E 000B move.b D0, [A6 + 0xB] 00000794 6A04 bpl +0x6 /* 0000079A */ 00000796 204C movea.l A0, A4 00000798 A02A syscall HUnlock label0000079A: 0000079A 6000 011A bra +0x11C /* 000008B6 */ label0000079E: 0000079E 9EFC 0032 sub.w A7, 0x32 /* '2' */ 000007A2 41FA 0194 lea.l A0, [PC + 0x194 /* 00000938, value 0x72E5072, pstring ".Print " */] 000007A6 2F48 0012 move.l [A7 + 0x12], A0 000007AA 3F7C FFFD 0018 move.w [A7 + 0x18], 0xFFFD 000007B0 422F 001B clr.b [A7 + 0x1B] 000007B4 204F movea.l A0, A7 000007B6 7000 moveq.l D0, 0x00 000007B8 0881 0004 bclr.b D1, 0x4 000007BC D241 add.w D1, D1 000007BE 323B 1006 move.w D1, [PC + D1.w + 0x6] 000007C2 4EFB 1002 jmp [PC + D1.w + 0x2] 000007C6 0068 006C 0070 ori.w [A0 + 0x70], 0x6C /* 'l' */ 000007CC 007A 008C 00A8 ori.w [PC + 0xA8 /* 00000876, value 0x5, cstring "" */], 0x8C 000007D2 00BA 00DA 00E4 0030 ori.l [PC + 0x30 /* 00000804, value 0x66247200 'f$r\0', cstring "f$r" */], 0xDA00E4 000007DA 0044 0020 ori.w D4, 0x20 /* ' ' */ 000007DE 0020 0020 ori.b -[A0], 0x20 /* ' ' */ 000007E2 0020 0020 ori.b -[A0], 0x20 /* ' ' */ 000007E6 31FC FFCE 0944 move.w [0x00000944 /* PrintErr */], 0xFFCE label000007EC: 000007EC 7200 moveq.l D1, 0x00 000007EE 122E 000A move.b D1, [A6 + 0xA] 000007F2 6000 00E0 bra +0xE2 /* 000008D4 */ 000007F6 2F3C 8000 0000 move.l -[A7], 0x80000000 000007FC 4EBA FE66 jsr [PC - 0x19A /* 00000664 */] 00000800 3038 0944 move.w D0, [0x00000944 /* PrintErr */] 00000804 6624 bne +0x26 /* 0000082A */ 00000806 7200 moveq.l D1, 0x00 00000808 6002 bra +0x4 /* 0000080C */ 0000080A 7201 moveq.l D1, 0x01 label0000080C: 0000080C 6100 00F2 bsr +0xF4 /* 00000900 */ 00000810 4A40 tst.w D0 00000812 6616 bne +0x18 /* 0000082A */ 00000814 3038 0952 move.w D0, [0x00000952 /* PrRefNum */] 00000818 4A78 0A60 tst.w [0x00000A60 /* ResErr */] 0000081C 6608 bne +0xA /* 00000826 */ 0000081E 4A41 tst.w D1 00000820 6704 beq +0x6 /* 00000826 */ 00000822 3F00 move.w -[A7], D0 00000824 A99A syscall CloseResFile label00000826: 00000826 3038 0A60 move.w D0, [0x00000A60 /* ResErr */] label0000082A: 0000082A 6000 0082 bra +0x84 /* 000008AE */ 0000082E A000 syscall Open/PBHOpen/HOpen 00000830 607C bra +0x7E /* 000008AE */ 00000832 A001 syscall Close 00000834 6078 bra +0x7A /* 000008AE */ 00000836 615A bsr +0x5C /* 00000892 */ 00000838 4FEF 002E lea.l A7, [A7 + 0x2E] 0000083C 2E88 move.l [A7], A0 0000083E 6076 bra +0x78 /* 000008B6 */ 00000840 6150 bsr +0x52 /* 00000892 */ 00000842 2050 movea.l A0, [A0] 00000844 7000 moveq.l D0, 0x00 00000846 1028 0007 move.b D0, [A0 + 0x7] 0000084A 4FEF 0030 lea.l A7, [A7 + 0x30] 0000084E 3E80 move.w [A7], D0 00000850 6064 bra +0x66 /* 000008B6 */ 00000852 216E 000C 0024 move.l [A0 + 0x24], [A6 + 0xC] 00000858 216E 0010 0020 move.l [A0 + 0x20], [A6 + 0x10] 0000085E 216E 0014 001C move.l [A0 + 0x1C], [A6 + 0x14] 00000864 316E 0018 001A move.w [A0 + 0x1A], [A6 + 0x18] 0000086A A004 syscall Control 0000086C 6040 bra +0x42 /* 000008AE */ 0000086E 6122 bsr +0x24 /* 00000892 */ 00000870 2050 movea.l A0, [A0] 00000872 0828 0006 0005 btst.b [A0 + 0x5], 0x6 00000878 6734 beq +0x36 /* 000008AE */ 0000087A 2050 movea.l A0, [A0] 0000087C A049 syscall HPurge 0000087E 602E bra +0x30 /* 000008AE */ 00000880 6110 bsr +0x12 /* 00000892 */ 00000882 2050 movea.l A0, [A0] 00000884 0828 0006 0005 btst.b [A0 + 0x5], 0x6 0000088A 6722 beq +0x24 /* 000008AE */ 0000088C 2050 movea.l A0, [A0] 0000088E A04A syscall HNoPurge 00000890 601C bra +0x1E /* 000008AE */ fn00000892: 00000892 317C 0001 001A move.w [A0 + 0x1A], 0x1 00000898 A005 syscall Status 0000089A 2068 001C movea.l A0, [A0 + 0x1C] 0000089E 4E75 rts 000008A0 4FEF 0030 lea.l A7, [A7 + 0x30] 000008A4 3EB8 0944 move.w [A7], [0x00000944 /* PrintErr */] 000008A8 600C bra +0xE /* 000008B6 */ 000008AA 302E 000C move.w D0, [A6 + 0xC] label000008AE: 000008AE 4FEF 0032 lea.l A7, [A7 + 0x32] 000008B2 31C0 0944 move.w [0x00000944 /* PrintErr */], D0 label000008B6: 000008B6 7200 moveq.l D1, 0x00 000008B8 122E 000A move.b D1, [A6 + 0xA] 000008BC 7007 moveq.l D0, 0x07 000008BE C02E 0008 and.b D0, [A6 + 0x8] 000008C2 6710 beq +0x12 /* 000008D4 */ 000008C4 204F movea.l A0, A7 000008C6 43F6 100C lea.l A1, [A6 + D1.w + 0xC] 000008CA E248 lsr D0.w, 1 000008CC 6002 bra +0x4 /* 000008D0 */ label000008CE: 000008CE 32DF move.w [A1]+, [A7]+ label000008D0: 000008D0 51C8 FFFC dbf D0, -0x6 /* 000008CE */ label000008D4: 000008D4 4CDF 1800 movem.l A3,A4, [A7]+ 000008D8 4E5E unlink A6 000008DA 205F movea.l A0, [A7]+ 000008DC DFC1 add.l A7, D1 000008DE 584F addq.w A7, 4 000008E0 4ED0 jmp [A0] fn000008E2: 000008E2 7000 moveq.l D0, 0x00 fn000008E4: 000008E4 9EFC 0040 sub.w A7, 0x40 /* '@' */ 000008E8 204F movea.l A0, A7 000008EA 3140 0016 move.w [A0 + 0x16], D0 000008EE 42A8 0012 clr.l [A0 + 0x12] 000008F2 A015 syscall SetVol/PBHSetVol/HSetVol 000008F4 A014 syscall GetVol/PBHGetVol/HGetVol 000008F6 3028 0016 move.w D0, [A0 + 0x16] 000008FA 4FEF 0040 lea.l A7, [A7 + 0x40] 000008FE 4E75 rts fn00000900: 00000900 594F subq.w A7, 4 00000902 3F3C E000 move.w -[A7], 0xE000 00000906 A9BA syscall GetString 00000908 201F move.l D0, [A7]+ 0000090A 6606 bne +0x8 /* 00000912 */ 0000090C 303C FF40 move.w D0, 0xFF40 00000910 6024 bra +0x26 /* 00000936 */ label00000912: 00000912 2240 movea.l A1, D0 00000914 61CC bsr -0x32 /* 000008E2 */ 00000916 4841 swap.w D1 00000918 3200 move.w D1, D0 0000091A 554F subq.w A7, 2 0000091C 2049 movea.l A0, A1 0000091E A029 syscall HLock 00000920 2F11 move.l -[A7], [A1] 00000922 A997 syscall OpenResFile 00000924 31DF 0952 move.w [0x00000952 /* PrRefNum */], [A7]+ 00000928 2049 movea.l A0, A1 0000092A A02A syscall HUnlock 0000092C 3001 move.w D0, D1 0000092E 4841 swap.w D1 00000930 61B2 bsr -0x4C /* 000008E4 */ 00000932 3038 0A60 move.w D0, [0x00000A60 /* ResErr */] label00000936: 00000936 4E75 rts 00000938 072E 5072 btst [A6 + 0x5072], D3 0000093C 696E bvs +0x70 /* 000009AC */ 0000093E 7420 moveq.l D2, 0x20